@import url('/public/styles/theme.css');
@import url('/public/styles/loading.css');

@tailwind base;
@tailwind components;
@tailwind utilities;

/* 覆盖 tailwindcss 中对他们背景的处理，注意：这里需要修改antd配置：cssVar: true 才行 */

.primary-btn{
    border: 2px solid var(--m1-9);
    border-radius: 8px;
    color: var(--m1-9);
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

html {
    line-height: 1.5;
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    height: 100%;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

html ::-webkit-scrollbar {
    background-color: transparent;
    width: 5px;
    height: 5px;
}

html ::-webkit-scrollbar-thumb {
    background-color: #C0C0C0;
    border-radius: 5px;
    height: 5px;
    width: 6px;
}
body .ant-form-item input.ant-input:-webkit-autofill,
body .ant-form-item input.ant-input:focus,
body .ant-form-item input.ant-input:focus-within {
    -webkit-box-shadow: 0 0 0 100px white inset !important;
    box-shadow: 0 0 0 100px white inset !important;
}

#root {
    width: 100%;
    height: 100%;
}

#root .ant-app{
    height: 100%;
}

#root .ant-select-disabled .ant-select-arrow{
    display: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: unset;
}

.route-container {
    width: 100%;
    min-height: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
